<link rel="stylesheet" href="/assets/css/m-projects.css?2.0">
<style>
    p img{
        display: block;
        width: 100%;

    }
    .intr-o span{
        width: 2rem;
    }
</style>
<div class="projects">
    <div class="banner_top" style="background: url('/img/23.png');background-size: cover">
        <div class="intr-o">
            <font class="f-1">GYRO核心点</font><br>

        </div>
        <div class="intr-t">
            <font class="f-2">南京海威机械有限公司创立于1999年 总部设在南京</font>
            <span></span>
        </div>
    </div>
    <?php
    foreach ($coreList as $v){
        if($v->type==1){

            ?>
            <div class="banner_top" style="background: url('<?=$v->img?>');background-size: cover;height: auto;">


                <div class="intr-o" style="text-align: center">
                    <font class="f-2" style="color:<?=$v->color?>"><?=$v->title?></font><br>
                    <span></span><br/>
                    <font style="margin-top: 5px;color:<?=$v->color?>">
                        <?=$v->word?>
                    </font><br/>
                    <?=$v->image?>
                </div>




            </div>
        <?php }elseif($v->type==2){?>
            <div class="banner_top" style="background: url('<?=$v->img?>');background-size: cover;height: auto;">

                <div class="intr-o" >
                    <div >
                        <div class="intr-o">
                            <font class="f-2" style="color:<?=$v->color?>"><?=$v->title?></font><br>
                            <span></span><br/>
                            <font style="margin-top: 5px;color:<?=$v->color?>">
                                <?=$v->word?>
                            </font><br/>
                            <?=$v->image?>
                        </div>
                    </div>
                    <div >
                        <?=$v->image2?>
                    </div>

                </div>

            </div>
        <?php   }elseif($v->type==3){?>
            <div class="banner_top" style="background: url('<?=$v->img?>');background-size: cover;height: auto;">

                <div class="intr-o" >
                    <div >
                        <?=$v->image2?>
                    </div>
                    <div >
                        <div class="intr-o">
                            <font class="f-2" style="color:<?=$v->color?>"><?=$v->title?></font><br>
                            <span></span><br/>
                            <font style="margin-top: 5px;color:<?=$v['color']?>">
                                <?=$v->word?>
                            </font><br/>
                            <?=$v->image?>
                        </div>
                    </div>


                </div>

            </div>
        <?php  } }?>

</div>